const getters = {
  token: state => state.user.token,
  login: state => state.user.login,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  loginInfo: state => state.user.loginInfo,
  unReadCount: state => state.user.unReadCount
};
export default getters;
